package com.javasm.domin.entity.orderEntity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.javasm.domin.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author lys
 * @since 2021-11-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class B2cOrderGoods extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
//    @TableField(value = "goods_id")
    private String goodsId;

    /**
     * 订单id
     */
//    @TableField(value = "order_id")
    private Integer orderId;

    /**
     * 商品名称
     */
//    @TableField(value = "order_product_name")
    private String orderProductName;

    /**
     * 商品单价
     */
//    @TableField(value = "order_product_price")
    private BigDecimal orderProductPrice;

    /**
     * 商品总价
     */
//    @TableField(value = "order_product_money")
    private BigDecimal orderProductMoney;

    /**
     * 商品数量
     */
//    @TableField(value = "order_product_number")
    private Integer orderProductNumber;

    /**
     * 商品类型
     */
//    @TableField(value = "type_id")
    private Integer typeId;

    /**
     * 商品品牌
     */
//    @TableField(value = "brand_id")
    private Integer brandId;

    /**
     * 商品型号
     */
//    @TableField(value = "model_id")
    private String modelId;

    /**
     * 商品颜色
     */
//    @TableField(value = "color_id")
    private Integer colorId;

    /**
     * 销量
     */
//    @TableField(value = "total")
    private Integer total;

    /**
     * 总销量
     */
    @TableField(exist = false)
    private Integer sales;


    private String remark2;

    private String remark3;

    private String remark4;


}
